package com.lhkj.ct.meta.modules.patient.mapper;

import com.lhkj.ct.meta.modules.patient.model.entity.TblPatTag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 档案标签 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2023-09-27
 */
public interface PatTagMapper extends BaseMapper<TblPatTag> {

    @Select("select tag_id from tbl_pat_tag where pat_id = #{userId} ")
    List<String> getByPatId(String userId);
}
